[INFO] cloning repository https://github.com/shawntabrizi/sudo-contract
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shawntabrizi/sudo-contract" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshawntabrizi%2Fsudo-contract", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshawntabrizi%2Fsudo-contract'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 5744bd9df8149f82e3fb87380cdc85f6518a842e
[INFO] building shawntabrizi/sudo-contract against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshawntabrizi%2Fsudo-contract" "/workspace/builds/worker-13/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/shawntabrizi/sudo-contract on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/shawntabrizi/sudo-contract
[INFO] finished tweaking git repo https://github.com/shawntabrizi/sudo-contract
[INFO] tweaked toml for git repo https://github.com/shawntabrizi/sudo-contract written to /workspace/builds/worker-13/source/Cargo.toml
[INFO] crate git repo https://github.com/shawntabrizi/sudo-contract already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 788480091ec190e942014c204fd1475aeca39b142895574d7ba4ecb38aa6ac28
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "788480091ec190e942014c204fd1475aeca39b142895574d7ba4ecb38aa6ac28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "788480091ec190e942014c204fd1475aeca39b142895574d7ba4ecb38aa6ac28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "788480091ec190e942014c204fd1475aeca39b142895574d7ba4ecb38aa6ac28", kill_on_drop: false }`
[INFO] [stdout] 788480091ec190e942014c204fd1475aeca39b142895574d7ba4ecb38aa6ac28
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fe730a3aa1cd98ccc81894656cf9fca3c89cd38e898bd76282ae7e8751f71994
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "fe730a3aa1cd98ccc81894656cf9fca3c89cd38e898bd76282ae7e8751f71994", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling unicode-xid v0.1.0
[INFO] [stderr]    Compiling syn v0.15.38
[INFO] [stderr]    Compiling typenum v1.10.0
[INFO] [stderr]    Compiling byteorder v1.3.2
[INFO] [stderr]    Compiling cc v1.0.37
[INFO] [stderr]    Compiling semver-parser v0.7.0
[INFO] [stderr]    Compiling serde v1.0.93
[INFO] [stderr]    Compiling failure_derive v0.1.5
[INFO] [stderr]    Compiling heapsize v0.4.2
[INFO] [stderr]    Compiling constant_time_eq v0.1.3
[INFO] [stderr]    Compiling subtle v2.1.0
[INFO] [stderr]    Compiling opaque-debug v0.2.2
[INFO] [stderr]    Compiling stable_deref_trait v1.1.1
[INFO] [stderr]    Compiling smallvec v0.6.10
[INFO] [stderr]    Compiling rustc-hex v2.0.1
[INFO] [stderr]    Compiling either v1.5.2
[INFO] [stderr]    Compiling proc-macro-hack-impl v0.4.1
[INFO] [stderr]    Compiling hash-db v0.12.4
[INFO] [stderr]    Compiling static_assertions v0.2.5
[INFO] [stderr]    Compiling spin v0.5.0
[INFO] [stderr]    Compiling hashmap_core v0.1.10
[INFO] [stderr]    Compiling byte-tools v0.2.0
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling arrayref v0.3.5
[INFO] [stderr]    Compiling environmental v1.0.1
[INFO] [stderr]    Compiling integer-sqrt v0.1.2
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling backtrace v0.3.31
[INFO] [stderr]    Compiling crossbeam-utils v0.6.5
[INFO] [stderr]    Compiling thread_local v0.3.6
[INFO] [stderr]    Compiling log v0.4.6
[INFO] [stderr]    Compiling num-traits v0.2.8
[INFO] [stderr]    Compiling block-padding v0.1.4
[INFO] [stderr]    Compiling owning_ref v0.4.0
[INFO] [stderr]    Compiling trie-root v0.12.4
[INFO] [stderr]    Compiling semver v0.9.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling num_cpus v1.10.1
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling blake2-rfc v0.2.18
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling lock_api v0.1.5
[INFO] [stderr]    Compiling hash256-std-hasher v0.12.4
[INFO] [stderr]    Compiling tiny-keccak v1.4.4
[INFO] [stderr]    Compiling rustc_version v0.2.3
[INFO] [stderr]    Compiling crossbeam-epoch v0.7.1
[INFO] [stderr]    Compiling crossbeam-queue v0.1.2
[INFO] [stderr]    Compiling proc-macro-hack v0.4.1
[INFO] [stderr]    Compiling regex v1.1.7
[INFO] [stderr]    Compiling elastic-array v0.10.2
[INFO] [stderr]    Compiling hex-literal-impl v0.1.2
[INFO] [stderr]    Compiling parity-wasm v0.31.3
[INFO] [stderr]    Compiling uint v0.7.1
[INFO] [stderr]    Compiling hashbrown v0.1.8
[INFO] [stderr]    Compiling crossbeam-deque v0.6.3
[INFO] [stderr]    Compiling quote v0.6.12
[INFO] [stderr]    Compiling parking_lot_core v0.4.0
[INFO] [stderr]    Compiling sr-std v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569)
[INFO] [stderr]    Compiling sr-io v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569)
[INFO] [stderr]    Compiling safe-mix v1.0.0
[INFO] [stderr]    Compiling sr-sandbox v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569)
[INFO] [stderr]    Compiling rayon-core v1.5.0
[INFO] [stderr]    Compiling generic-array v0.12.0
[INFO] [stderr]    Compiling generic-array v0.8.3
[INFO] [stderr]    Compiling clear_on_drop v0.2.3
[INFO] [stderr]    Compiling backtrace-sys v0.1.28
[INFO] [stderr]    Compiling ring v0.14.6
[INFO] [stderr]    Compiling hex-literal v0.1.4
[INFO] [stderr]    Compiling fixed-hash v0.3.2
[INFO] [stderr]    Compiling digest v0.6.2
[INFO] [stderr]    Compiling crypto-mac v0.4.0
[INFO] [stderr]    Compiling block-buffer v0.2.0
[INFO] [stderr]    Compiling twox-hash v1.3.0
[INFO] [stderr]    Compiling trie-db v0.12.4
[INFO] [stderr]    Compiling digest v0.8.0
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling crypto-mac v0.7.0
[INFO] [stderr]    Compiling hmac v0.4.2
[INFO] [stderr]    Compiling rayon v1.1.0
[INFO] [stderr]    Compiling sha2 v0.6.0
[INFO] [stderr]    Compiling hmac v0.7.0
[INFO] [stderr]    Compiling sha2 v0.8.0
[INFO] [stderr]    Compiling sha3 v0.8.2
[INFO] [stderr]    Compiling hmac-drbg v0.1.2
[INFO] [stderr]    Compiling parking_lot v0.7.1
[INFO] [stderr]    Compiling libsecp256k1 v0.2.2
[INFO] [stderr]    Compiling merlin v1.1.0
[INFO] [stderr]    Compiling curve25519-dalek v1.2.1
[INFO] [stderr]    Compiling once_cell v0.1.8
[INFO] [stderr]    Compiling wasmi-validation v0.1.0
[INFO] [stderr]    Compiling pwasm-utils v0.6.2
[INFO] [stderr]    Compiling substrate-panic-handler v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569)
[INFO] [stderr]    Compiling wasmi v0.4.5
[INFO] [stderr]    Compiling pbkdf2 v0.3.0
[INFO] [stderr]    Compiling synstructure v0.10.2
[INFO] [stderr]    Compiling serde_derive v1.0.93
[INFO] [stderr]    Compiling malloc_size_of_derive v0.1.0
[INFO] [stderr]    Compiling srml-support-procedural-tools-derive v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569)
[INFO] [stderr]    Compiling proc-macro-hack v0.5.7
[INFO] [stderr]    Compiling failure v0.1.5
[INFO] [stderr]    Compiling parity-util-mem v0.1.0
[INFO] [stderr]    Compiling memory-db v0.12.4
[INFO] [stderr]    Compiling ed25519-dalek v1.0.0-pre.1
[INFO] [stderr]    Compiling tiny-bip39 v0.6.2
[INFO] [stderr]    Compiling paste-impl v0.1.5
[INFO] [stderr]    Compiling schnorrkel v0.1.1
[INFO] [stderr]    Compiling paste v0.1.5
[INFO] [stderr]    Compiling substrate-bip39 v0.2.1 (https://github.com/paritytech/substrate-bip39#44307fda)
[INFO] [stderr]    Compiling toml v0.5.1
[INFO] [stderr]    Compiling impl-serde v0.2.0
[INFO] [stderr]    Compiling impl-serde v0.1.1
[INFO] [stderr]    Compiling proc-macro-crate v0.1.4
[INFO] [stderr]    Compiling srml-support-procedural-tools v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569)
[INFO] [stderr]    Compiling parity-codec-derive v3.3.0
[INFO] [stderr]    Compiling sr-api-macros v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569)
[INFO] [stderr]    Compiling parity-codec v3.5.1
[INFO] [stderr]    Compiling impl-codec v0.2.0
[INFO] [stderr]    Compiling primitive-types v0.2.4
[INFO] [stderr]    Compiling substrate-primitives v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569)
[INFO] [stderr]    Compiling substrate-trie v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569)
[INFO] [stderr]    Compiling srml-metadata v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569)
[INFO] [stderr]    Compiling substrate-state-machine v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569)
[INFO] [stderr]    Compiling srml-support-procedural v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569)
[INFO] [stderr]    Compiling sr-primitives v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569)
[INFO] [stderr]    Compiling substrate-inherents v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569)
[INFO] [stderr]    Compiling srml-support v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569)
[INFO] [stderr]    Compiling srml-system v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569)
[INFO] [stderr]    Compiling srml-timestamp v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569)
[INFO] [stderr]    Compiling srml-sudo v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569)
[INFO] [stderr]    Compiling srml-contract v1.0.0 (https://github.com/paritytech/substrate.git?branch=v1.0#bb684569)
[INFO] [stdout] error[E0277]: the trait bound `<<T as Trait>::Currency as Currency<<T as srml_system::Trait>::AccountId>>::Balance: As<i32>` is not satisfied
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/bb68456/srml/contract/src/lib.rs:437:58
[INFO] [stdout]     |
[INFO] [stdout] 437 |         ContractFee get(contract_fee) config(): BalanceOf<T> = BalanceOf::<T>::sa(21);
[INFO] [stdout]     |                                                                ^^^^^^^^^^^^^^^^^^ the trait `As<i32>` is not implemented for `<<T as Trait>::Currency as Currency<<T as srml_system::Trait>::AccountId>>::Balance`
[INFO] [stdout]     |
[INFO] [stdout]     = note: required by `sa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `<T as Trait>::Gas: As<i32>` is not satisfied
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/bb68456/srml/contract/src/lib.rs:439:53
[INFO] [stdout]     |
[INFO] [stdout] 439 |         CallBaseFee get(call_base_fee) config(): T::Gas = T::Gas::sa(135);
[INFO] [stdout]     |                                                           ^^^^^^^^^^ the trait `As<i32>` is not implemented for `<T as Trait>::Gas`
[INFO] [stdout]     |
[INFO] [stdout]     = note: required by `sa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `<T as Trait>::Gas: As<i32>` is not satisfied
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/bb68456/srml/contract/src/lib.rs:441:57
[INFO] [stdout]     |
[INFO] [stdout] 441 |         CreateBaseFee get(create_base_fee) config(): T::Gas = T::Gas::sa(175);
[INFO] [stdout]     |                                                               ^^^^^^^^^^ the trait `As<i32>` is not implemented for `<T as Trait>::Gas`
[INFO] [stdout]     |
[INFO] [stdout]     = note: required by `sa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `<<T as Trait>::Currency as Currency<<T as srml_system::Trait>::AccountId>>::Balance: As<i32>` is not satisfied
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/bb68456/srml/contract/src/lib.rs:443:52
[INFO] [stdout]     |
[INFO] [stdout] 443 |         GasPrice get(gas_price) config(): BalanceOf<T> = BalanceOf::<T>::sa(1);
[INFO] [stdout]     |                                                          ^^^^^^^^^^^^^^^^^^ the trait `As<i32>` is not implemented for `<<T as Trait>::Currency as Currency<<T as srml_system::Trait>::AccountId>>::Balance`
[INFO] [stdout]     |
[INFO] [stdout]     = note: required by `sa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `<T as Trait>::Gas: As<i32>` is not satisfied
[INFO] [stdout]    --> /opt/rustwide/cargo-home/git/checkouts/substrate-7e08433d4c370a21/bb68456/srml/contract/src/lib.rs:447:57
[INFO] [stdout]     |
[INFO] [stdout] 447 |         BlockGasLimit get(block_gas_limit) config(): T::Gas = T::Gas::sa(10_000_000);
[INFO] [stdout]     |                                                               ^^^^^^^^^^ the trait `As<i32>` is not implemented for `<T as Trait>::Gas`
[INFO] [stdout]     |
[INFO] [stdout]     = note: required by `sa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `srml-contract`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "fe730a3aa1cd98ccc81894656cf9fca3c89cd38e898bd76282ae7e8751f71994", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fe730a3aa1cd98ccc81894656cf9fca3c89cd38e898bd76282ae7e8751f71994", kill_on_drop: false }`
[INFO] [stdout] fe730a3aa1cd98ccc81894656cf9fca3c89cd38e898bd76282ae7e8751f71994
